<?php
// +----------------------------------------------------------------------
// | ZanPianCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.zanpian.com All rights reserved.
// +----------------------------------------------------------------------
// | BBS:  <http://www.feifeicms.cc>
// +----------------------------------------------------------------------
namespace app\common\validate;
class Theme extends Base{
 protected $rule = [
        ['theme_vid', 'require|number', '视频ID不能为空|视频ID必须为数字'],
		['theme_name', 'require|unique:theme,theme_name^theme_vid', '话题标题不能为空|存在相同话题标题！'],
		['theme_content', 'require|unique:theme,theme_content^theme_vid', '话题内容不能为空|存在相同话题内容！'],
    ];
}